import com.project.bean.UserBean;
import com.project.dao.IRoomDao;
import com.project.dao.IStudentDao;
import com.project.dao.IUserDao;
import com.project.dao.impl.RoomDaoImpl;
import com.project.dao.impl.StudentDaoImpl;
import com.project.dao.impl.UserDaoImpl;

public class TextUser {
    public static void main(String[] args) {
        IUserDao dao = new UserDaoImpl();

//        System.out.println(dao.login("tom","123456"));
//        System.out.println(dao.checkName("joo"));
//        System.out.println(dao.findById(3));
//        dao.addUser(new UserBean("big","迪丽热巴","超级管理员"));
//        IRoomDao dao1=new RoomDaoImpl();
//        System.out.println(dao1.findByItem(1,"1","","不限","女生宿舍"));
        IStudentDao dao1 =new StudentDaoImpl();
        System.out.println(dao1.findByItem(1,"","J188",""));


    }
}
